<wicket:panel>
    <div class="popup">
        <span wicket:id="username"></span>

        <div>
            <h1>Recent activity</h1>
            <h2>Posts</h2>
            <ul wicket:id="posts">
                <li>
                    <span wicket:id="title"></span>
                    <span wicket:id="commentCount"></span> comment(s)
                </li>
            </ul>
            <h2>Comments</h2>
            <ul wicket:id="comments">
                <li>
                    <span wicket:id="text"></span>
                </li>
            </ul>
            <a wicket:id="closePopup">close</a>
        </div>
    </div>
</wicket:panel>